package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.Tour;
import cn.wolfcode.trip.base.query.TourObject;
import java.util.List;

public interface TourMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Tour record);

    Tour selectByPrimaryKey(Long id);

    List<Tour> selectAll();

    int updateByPrimaryKey(Tour record);

    void changeState(Long id);

    List<Tour> query(TourObject qo);
}